package entity;

import java.io.Serializable;

import client_controllers.EmployeeLoginController;

/**
 * @class Employee used to create a new Employee instance.
 * 
 * @param id initializes to -1 unless is in use,id of the employee.
 * @param password save the password of the employee in login.
 * @param Fname it's the first name.
 * @param Sname it's the last name.
 * @param role handle the role of the employee.
 * @param logged Booted in the DB.
 */
public class Employee implements  Serializable{
	private int id=-1;
	private String password="";
	private String Fname="";
	private String Sname="";
	private String role="non";
	private String logged="";	

	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getFname() {
		return Fname;
	}
	public void setFname(String fname) {
		Fname = fname;
	}
	public String getSname() {
		return Sname;
	}
	public void setSname(String sname) {
		Sname = sname;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	public String getLogged() {
		return logged;
	}
	public void setLogged(String logged) {
		this.logged = logged;
	}


}
